package com.xiaolin.designmode.decorator;

/**
 * @ClassName DecoratorTest
 * @Description TODO
 * @Detail detail
 * @Author MyPC
 * @Date 2020/11/2
 * @Version 1.0
 */
public class DecoratorTest {
    public static void main(String[] args) {
        Decorator decorator=new ConcreteDecorator(new ConcreteComponent());
        decorator.work();
    }
}
